#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QLabel>
MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);

    QStatusBar* sb = statusBar();
    setStatusBar(sb);

    sb->showMessage("super_little_monster",2000);

    QLabel* label = new QLabel("我在右下角",this);
    sb->addPermanentWidget(label);

}

MainWindow::~MainWindow()
{
    delete ui;
}

